package com.st.shopadmin.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Task {
    private Long id;

    private Long uid;

    private String taskName;

    private String mainPicUrl;

    private String videoUrl;

    private Integer taskType;

    private Integer taskLimit;

    private Integer pullCount;

    private Integer finishCount;

    private Integer status;

    private Date endTime;

    private Date createTime;

    private Date updateTime;

    private Long shopId;

    private Integer refundMode;

    private Long moneyReback;

    private Date startTime;

    private BigDecimal taskDuration;

    private String noPassReason;

    public Task(Long id, Long uid, String taskName, String mainPicUrl, String videoUrl, Integer taskType,
        Integer taskLimit, Integer pullCount, Integer finishCount, Integer status, Date endTime, Date createTime,
        Date updateTime, Long shopId, Integer refundMode, Long moneyReback, Date startTime,
        BigDecimal taskDuration, String noPassReason) {
        this.id = id;
        this.uid = uid;
        this.taskName = taskName;
        this.mainPicUrl = mainPicUrl;
        this.videoUrl = videoUrl;
        this.taskType = taskType;
        this.taskLimit = taskLimit;
        this.pullCount = pullCount;
        this.finishCount = finishCount;
        this.status = status;
        this.endTime = endTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.shopId = shopId;
        this.refundMode = refundMode;
        this.moneyReback = moneyReback;
        this.startTime = startTime;
        this.taskDuration = taskDuration;
        this.noPassReason = noPassReason;
    }

    public Task(Long id, Long uid, String taskName, String mainPicUrl, String videoUrl, Integer taskType, Integer taskLimit, Integer pullCount, Integer finishCount, Integer status, Date endTime, Date createTime, Date updateTime, Long shopId, Integer refundMode, Long moneyReback, Date startTime, BigDecimal taskDuration) {
        this.id = id;
        this.uid = uid;
        this.taskName = taskName;
        this.mainPicUrl = mainPicUrl;
        this.videoUrl = videoUrl;
        this.taskType = taskType;
        this.taskLimit = taskLimit;
        this.pullCount = pullCount;
        this.finishCount = finishCount;
        this.status = status;
        this.endTime = endTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.shopId = shopId;
        this.refundMode = refundMode;
        this.moneyReback = moneyReback;
        this.startTime = startTime;
        this.taskDuration = taskDuration;
    }

    public Task() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public String getMainPicUrl() {
        return mainPicUrl;
    }

    public void setMainPicUrl(String mainPicUrl) {
        this.mainPicUrl = mainPicUrl == null ? null : mainPicUrl.trim();
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl == null ? null : videoUrl.trim();
    }

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public Integer getTaskLimit() {
        return taskLimit;
    }

    public void setTaskLimit(Integer taskLimit) {
        this.taskLimit = taskLimit;
    }

    public Integer getPullCount() {
        return pullCount;
    }

    public void setPullCount(Integer pullCount) {
        this.pullCount = pullCount;
    }

    public Integer getFinishCount() {
        return finishCount;
    }

    public void setFinishCount(Integer finishCount) {
        this.finishCount = finishCount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getRefundMode() {
        return refundMode;
    }

    public void setRefundMode(Integer refundMode) {
        this.refundMode = refundMode;
    }

    public Long getMoneyReback() {
        return moneyReback;
    }

    public void setMoneyReback(Long moneyReback) {
        this.moneyReback = moneyReback;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public BigDecimal getTaskDuration() {
        return taskDuration;
    }

    public void setTaskDuration(BigDecimal taskDuration) {
        this.taskDuration = taskDuration;
    }

    public String getNoPassReason() {
        return noPassReason;
    }

    public void setNoPassReason(String noPassReason) {
        this.noPassReason = noPassReason;
    }
}